/**
 * 
 */
package com.et114.modules.products.vo;

import com.et114.core.dao.vo.BaseVO;
import com.et114.core.utility.NumberUtils;
import com.et114.modules.products.supplier.vo.ProSuppliers;

import java.util.Date;

/*
 * @author guanhw
 */
public class ProBase extends BaseVO {
	private static final long	serialVersionUID	= - 1622113603107028655L;
	private Date				onTime;
	private Date				offTime;
	private Byte				proOnOffStatus;								// 带上架：1，上架
																				// ：2；自动下架：3；强制下架：4
	private Double				charges;										// 佣金
	private Integer				integral;										// 产品积分
	private Double				price;
																				
	private Date				onTimeStart;
	private Date				onTimeEnd;
	
	private Date				offTimeStart;
	private Date				offTimeEnd;
	private String					subj;											// 手机功能点简述
	private Boolean				sdCx;										// 促销
	private Boolean				sdTj;										// 推荐
	

	private Long				proSupplierId;
	private String              proSupplierName ; 
	private String 				proSupplierImg ;
	
	
	//private String				content;								// 服务内容
	private Long                proId ;
	private String              proTitle ; 
	private Long				tjOrder;
	private Long                cxOrder ; 
	private Long [ ]			proIds;
	
	private Boolean             showModal ; 
	
	
	private Boolean             flgSupplier ; //选商品 标志；固定供应商商品标志

	/**
	 * 
	 */
	public ProBase ( ) {
		// TODO Auto-generated constructor stub
	}

	public Date getOnTime ( ) {
		return onTime;
	}

	public void setOnTime ( Date onTime ) {
		this.onTime = onTime;
	}

	public Date getOffTime ( ) {
		return offTime;
	}

	public void setOffTime ( Date offTime ) {
		this.offTime = offTime;
	}

	public Byte getProOnOffStatus ( ) {
		return proOnOffStatus;
	}

	public void setProOnOffStatus ( Byte proOnOffStatus ) {
		this.proOnOffStatus = proOnOffStatus;
	}

	public Double getCharges ( ) {
		return charges;
	}

	public void setCharges ( Double charges ) {
		this.charges = charges;
	}

	public Integer getIntegral ( ) {
		return integral;
	}

	public void setIntegral ( Integer integral ) {
		this.integral = integral;
	}

	public Date getOnTimeStart ( ) {
		return onTimeStart;
	}

	public void setOnTimeStart ( Date onTimeStart ) {
		this.onTimeStart = onTimeStart;
	}

	public Date getOnTimeEnd ( ) {
		return onTimeEnd;
	}

	public void setOnTimeEnd ( Date onTimeEnd ) {
		this.onTimeEnd = onTimeEnd;
	}

	public Date getOffTimeStart ( ) {
		return offTimeStart;
	}

	public void setOffTimeStart ( Date offTimeStart ) {
		this.offTimeStart = offTimeStart;
	}

	public Date getOffTimeEnd ( ) {
		return offTimeEnd;
	}

	public void setOffTimeEnd ( Date offTimeEnd ) {
		this.offTimeEnd = offTimeEnd;
	}

	public Boolean getSdCx ( ) {
		return sdCx;
	}

	public void setSdCx ( Boolean sdCx ) {
		this.sdCx = sdCx;
	}

	public Boolean getSdTj ( ) {
		return sdTj;
	}

	public void setSdTj ( Boolean sdTj ) {
		this.sdTj = sdTj;
	}

	
	public ProSuppliers getProSupplier ( ) {
		if ( !NumberUtils.isEmptyOrZero (  proSupplierId )  && proSupplierName != null ) {
			return new ProSuppliers ( proSupplierId , proSupplierName ,
					proSupplierImg );
		}
		return null;
	}

	


	public Long getProSupplierId ( ) {
		return proSupplierId;
	}

	public void setProSupplierId ( Long proSupplierId ) {
		this.proSupplierId = proSupplierId;
	}

	public Double getPrice ( ) {
		return price;
	}

	public void setPrice ( Double price ) {
		this.price = price;
	}



	public Long getProId ( ) {
		return proId;
	}

	public void setProId ( Long proId ) {
		this.proId = proId;
	}

	public String getProTitle ( ) {
		return proTitle;
	}

	public void setProTitle ( String proTitle ) {
		this.proTitle = proTitle;
	}

	public Long getTjOrder ( ) {
		return tjOrder;
	}

	public void setTjOrder ( Long tjOrder ) {
		this.tjOrder = tjOrder;
	}

	public Long [ ] getProIds ( ) {
		return proIds;
	}

	public void setProIds ( Long [ ] proIds ) {
		this.proIds = proIds;
	}

	public Boolean getShowModal ( ) {
		return showModal;
	}

	public void setShowModal ( Boolean showModal ) {
		this.showModal = showModal;
	}

	public String getProSupplierName ( ) {
		return proSupplierName;
	}

	public void setProSupplierName ( String proSupplierName ) {
		this.proSupplierName = proSupplierName;
	}

	public String getProSupplierImg ( ) {
		return proSupplierImg;
	}

	public void setProSupplierImg ( String proSupplierImg ) {
		this.proSupplierImg = proSupplierImg;
	}

	public String getSubj ( ) {
		return subj;
	}

	public void setSubj ( String subj ) {
		this.subj = subj;
	}

	public Boolean getFlgSupplier ( ) {
		return flgSupplier;
	}

	public void setFlgSupplier ( Boolean flgSupplier ) {
		this.flgSupplier = flgSupplier;
	}

	public Long getCxOrder ( ) {
		return cxOrder;
	}

	public void setCxOrder ( Long cxOrder ) {
		this.cxOrder = cxOrder;
	}
}
